Print out the name of the right object in the warning (#451314, Philip
authorJohan Dahlin <jdahlin@async.com.br>
Wed, 27 Jun 2007 23:46:54 +0000 (23:46 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Wed, 27 Jun 2007 23:46:54 +0000 (23:46 +0000)
2007-06-27  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkbuilder.c (apply_delayed_properties):
    Print out the name of the right object in the warning
    (#451314, Philip Withnall)

svn path=/trunk/; revision=18270

ChangeLog
gtk/gtkbuilder.c

index 8edb242c4138e5ad7cf567065b53a03e6cd11528..a031ed834c300eca937d24d510375e39860a9bb9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
 
+       * gtk/gtkbuilder.c (apply_delayed_properties): 
+       Print out the name of the right object in the warning
+       (#451314, Philip Withnall)
+
        * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
        glade-interface doctype if found.
        (GtkBuilderConverter._convert): 
index 78772f44735f449817c8a48b51be6b7048ee7b1b..213fc9c9358309e5091d7ac853dc82135d295137 100644 (file)
@@ -550,7 +550,7 @@ apply_delayed_properties (const gchar *window_name,
 
           obj = g_hash_table_lookup (builder->priv->objects, property->value);
           if (!obj)
-            g_warning ("No object called: %s\n", property->object);
+            g_warning ("No object called: %s\n", property->value);
           else
             g_object_set (object, property->name, obj, NULL);
         }